/*
 * @Description: 获取城市定位相关操作
 * @Author: Yong
 * @Date: 2021-09-27 21:08:26
 * @LastEditTime: 2021-09-27 21:08:27
 */
const TOKEN_NAME = 'hkzf_city'

// 获取当前定位城市
const getCity = () => JSON.parse(localStorage.getItem(TOKEN_NAME)) || {}

// 设置当前定位城市
const setCity = value => localStorage.setItem(TOKEN_NAME, value)

export { getCity, setCity }
